package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收货地址对象 biz_address
 * 
 * @author ruoyi
 * @date 2021-12-16
 */
public class BizAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String addressee;

    /** 国家code */
    @Excel(name = "国家code")
    private String countryCode;

    /** 国家名称 */
    @Excel(name = "国家名称")
    private String countryName;

    /** 城市code */
    @Excel(name = "城市code")
    private String cityCode;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 街道地址 */
    @Excel(name = "街道地址")
    private String streetAddress;

    /** 快递地址 */
    @Excel(name = "快递地址")
    private String postAddress;

    /** 州 */
    @Excel(name = "州")
    private String state;

    /** 电话 */
    @Excel(name = "电话")
    private String mobilePhone;

    /** 是否默认地址 */
    @Excel(name = "是否默认地址")
    private Integer defaultFlag;

    /** 标签 */
    @Excel(name = "标签")
    private Integer addressTag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAddressee(String addressee) 
    {
        this.addressee = addressee;
    }

    public String getAddressee() 
    {
        return addressee;
    }
    public void setCountryCode(String countryCode) 
    {
        this.countryCode = countryCode;
    }

    public String getCountryCode() 
    {
        return countryCode;
    }
    public void setCountryName(String countryName) 
    {
        this.countryName = countryName;
    }

    public String getCountryName() 
    {
        return countryName;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setStreetAddress(String streetAddress) 
    {
        this.streetAddress = streetAddress;
    }

    public String getStreetAddress() 
    {
        return streetAddress;
    }
    public void setPostAddress(String postAddress) 
    {
        this.postAddress = postAddress;
    }

    public String getPostAddress() 
    {
        return postAddress;
    }
    public void setMobilePhone(String mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMobilePhone()
    {
        return mobilePhone;
    }
    public void setDefaultFlag(Integer defaultFlag) 
    {
        this.defaultFlag = defaultFlag;
    }

    public Integer getDefaultFlag() 
    {
        return defaultFlag;
    }
    public void setAddressTag(Integer addressTag) 
    {
        this.addressTag = addressTag;
    }

    public Integer getAddressTag() 
    {
        return addressTag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("addressee", getAddressee())
            .append("countryCode", getCountryCode())
            .append("countryName", getCountryName())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("streetAddress", getStreetAddress())
            .append("postAddress", getPostAddress())
            .append("mobilePhone", getMobilePhone())
            .append("state", getState())
            .append("defaultFlag", getDefaultFlag())
            .append("addressTag", getAddressTag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
